import request from '@/utils/request'
// 公司
export const getCustomerList = (data) => request.post('/customer/getCustomerList', data)
// 管线
export const getPipeLineListByCusId = (data) => request.post('/pipeLine/getPipeLineListByCusId', data)
// 监测点
export const getCheckPointListByLineId = (data) => request.post('/checkPoint/getCheckPointListByLineId', data)

// 日期详情
export const getKmlcpycList = (data) => request.post('/kml/getKmlcpycList', data)

export const getKmlptycList = (data) => request.post('/kml/getKmlptycList', data)

export const getSynSatelliteList = (data) => request.post('/synSate/getSynSatelliteList', data)

export const getCollAnalysis = (data) => request.post('/reportForm/getCollAnalysis', data)

export const getSynAnalysis = (data) => request.post('/reportForm/getSynAnalysis', data)

export const getCheckPoint = (data) => request.post('/reportForm/getCheckPoint', data)

export const downloadkmlcpycBase = (data) => request.post('/reportForm/downloadkmlcpycBase', data, {
    headers: {
        'Content-Type': 'application/x-www-form-urlencoded'
    }
})

export const downloadkmlptycBase = (data) => request.post('/reportForm/downloadkmlptycBase', data, {
    headers: {
        'Content-Type': 'application/x-www-form-urlencoded'
    }
})

export const downloadSynSatelliteBase = (data) => request.post('/reportForm/downloadSynSatelliteBase', data, {
    headers: {
        'Content-Type': 'application/x-www-form-urlencoded'
    }
})
